package com.xyht.sca_s.student_manage_system.modules.attendance.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 考勤打卡
 * </p>
 *
 * @author XYHT
 * @since 2023-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_attendance")
@ApiModel(value="SmsAttendance对象", description="考勤打卡")
public class SmsAttendance implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "考勤老师id")
    private String attendanceUserId;

    @ApiModelProperty(value = "考勤老师姓名")
    private String attendanceUsername;

    @ApiModelProperty(value = "考勤标题")
    private String attendanceName;

    @ApiModelProperty(value = "应到人数")
    private Integer totalNum;

    @ApiModelProperty(value = "考勤状态  0：关闭  1：开启中 2：统计人数不足")
    private Integer status;

    @ApiModelProperty(value = "考勤班级组织")
    private String attendanceOrg;

    @ApiModelProperty(value = "考勤持续时间")
    private Integer attendanceTime;

    @ApiModelProperty(value = "考勤结束时间")
    private Date endTime;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;


}
